Make sure native W32 print dialog uses visual styles
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 29 Jul 2014 08:18:32 +0000 (08:18 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 5 Aug 2014 06:41:31 +0000 (06:41 +0000)
commit0d02cc8203e1a43506c0e81f392492aedadb6fa3
treebd52cdc4add8c43b7aad0017ba54ed432b50ea2a
parent31d08bd85e312ba05b7890b403c8a50cfdf52c4f
Make sure native W32 print dialog uses visual styles

For that to happen the libgtk3 is embedded with a manifest that requests
common controls library 6.x, and GTK lazily calls InitCommonControlsEx()
to initialize those. Then this manifest is used to temporarily override
the process activation contest when loading comdlg32 (which contains the
code for the print dialog), ensuring that it too depends on common
controls 6.x, even if the application that uses GTK does not.

https://bugzilla.gnome.org/show_bug.cgi?id=733773
configure.ac
gtk/Makefile.am
gtk/gtk-win32.rc.in
gtk/gtkprintoperation-win32.c
gtk/gtkprivate.h
gtk/gtkwin32.c
gtk/libgtk3.manifest.in [new file with mode: 0644]